package com.wh.accesscontrol.dao;

import com.wh.accesscontrol.entity.Total;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository

public interface TotalMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Total record);

    int insertSelective(Total record);

    Total selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Total record);

    int updateByPrimaryKey(Total record);

    List<Total> selectAll();

    List<Total> selectAllDay(int unit);
}